package com.fanyouzhao.ehome.dao.impl;

import com.fanyouzhao.ehome.dao.BaseDao;
import com.fanyouzhao.ehome.dao.GetVoDao;
import com.fanyouzhao.ehome.entity.GetVo;

import java.util.List;

/**
 * @Author: fanyouzhao
 * @Date: 12:04 2021/5/14
 */
public class GetVoDaoImpl extends BaseDao<GetVo> implements GetVoDao {
    @Override
    public List<GetVo> selectByPage(int page, int size) throws Exception {
        return super.selectByPage(page,size,GetVo.class);
    }
    @Override
    public List<GetVo> selectAll() throws Exception {
        return super.selectAll(GetVo.class);
    }

    @Override
    public Integer getCount() throws Exception {
        return super.getCount(GetVo.class);
    }

    @Override
    public Integer getCountSearch(String searchString) throws Exception {
        return super.getCountSearch(searchString,GetVo.class);
    }

    @Override
    public List<GetVo> selectLikeNameorPhoneByPage(String searchString, int page, int size) throws Exception {
        return super.selectLikeNameorPhoneByPage(searchString, page, size, GetVo.class);
    }
}
